Pattern separation will result when the similarity between the patterns produced by the network is larger than the orginal similarity between these patterns.
In [3]:
import numpy as np
from sklearn.metrics.pairwise import cosine_similarity
In [38]:
IN1 = np.zeros(100, dtype=int)
IN2 = np.zeros(100,dtype=int)
IN2[:50] = 1
In [40]:
np.corrcoef(IN1,IN2)
Out[40]:
In [36]:
np.dot?
In [ ]: